package com.chongbangbang.service;

import com.chongbangbang.pojo.UserInfo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author TP
 * @version 1.0
 * @date 2022/8/28/0028 15:54
 */
public interface WXService {

    /**
    根据openId获取userId
    */
    UserInfo getUserByOpenId(String openId);

    /**
     * 图片上传
     * @param file
     * @param openid
     * @return
     */
    String upload(MultipartFile file, String openid);
}
